package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallAdminDao;
import com.appkubes.mall.core.entity.MallAdmin;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallAdminService extends AbstractBaseService<BaseMallAdminDao, MallAdmin> {

    MallAdmin getOneByEntity(MallAdmin entity);

    List<MallAdmin> selectListByEntity(MallAdmin entity);

    IPage<MallAdmin> selectPageByEntity(IPage<MallAdmin> page);
    IPage<MallAdmin> selectPageByEntity(PageVO pageVO);

    IPage<MallAdmin> selectPageByEntity(MallAdmin entity, IPage<MallAdmin> page);
    IPage<MallAdmin> selectPageByEntity(MallAdmin entity, PageVO pageVO);

    IPage<MallAdmin> selectPageByEntity(MallAdmin entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallAdmin entity);
}
